package com.example.Service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.Service.FinanceService;
import com.example.dao.FinanceMapper;
import com.example.pojo.Finance;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.time.LocalDate;

@Service
public class FinanceImpl extends ServiceImpl<FinanceMapper,Finance> implements FinanceService {
    @Resource
    private FinanceMapper financeMapper;

    public boolean updateUId(Integer userid, int years, int months, LocalDate i, LocalDate days){
        return financeMapper.updateUId(userid,years,months,i,days);
    }
}
